import request from './../utils/request'
// 添加症状
export function addSymptom(params) {
    return request.post('/symptom/addsymptom', params)
}
// 获取一级症状列表
export function getSymptomlist(params) {
    return request.post('/symptom/symptomlist', params)
}
// 获取一级的二级症状列表
export function getTwoSymptomlist(params) {
    return request.post('/symptom/symptomlistTwo', params)
}
// 获取单条症状
export function getOneSymptom(params) {
    return request.post('/symptom/oneSymptom', params)
}
//删除单条
export function delOneSymptom(params) {
    return request.post('/symptom/delOneSymptom', params)
}
// 批量删除
export function delAllSymptom(params) {
    return request.post('/symptom/delallSym', params)
}
// 编辑症状
export function UpdateSymptom(params) {
    return request.post('/symptom/updateone', params)
}
// 获取适合级联的数据
export function getSymData() {
    return request.get('/symptom/kinddata')
}